<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : BancoCadastrar
    Created on : 20/07/2009, 13:25:22
    Author     : Uso Exclusivo
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./resources/camposDesabilitados.css" id="outputStyle3"/>
                <ice:outputStyle href="./xmlhttp/css/xp/xp.css" id="outputStyle2"/>
                <script>
               function hidden(){
                  document.body.style.overflow='hidden';
               }
            </script>
                <title>Gerenciamento de Banco</title>
            </ice:outputHead>
            <body onload="hidden();">
                <ice:outputBody id="outputBody1" style="-rave-layout: grid">
                    <ice:form id="form1">
                        <ice:panelPopup autoCentre="true" binding="#{Bancos$BancoCadastrar.painelSair}" draggable="false" id="painelSair" modal="true"
                            rendered="#{Bancos$BancoCadastrar.painelPopupSair.showDraggablePanel}"
                            style="height: 210px; left: 600px; right: 200px; top: 240px; bottom: 200px; position: absolute; width: 405px" visible="#{Bancos$BancoCadastrar.painelPopupSair.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelSairCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgSairTitulo" style="text-align: left" value="Sair"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelSairCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgPainelSair"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Tem certeza que deseja sair dessa tela?"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoSairSim_action}" binding="#{Bancos$BancoCadastrar.botaoSairSim}"
                                        id="botaoSairSim" image="/resources/botaoSim.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 30%; top: 55%; position: absolute" value="Sim"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoSairNao_action}" binding="#{Bancos$BancoCadastrar.botaoSairNao}"
                                        id="botaoSairNao" image="/resources/botaoNao.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 30%; top: 55%; position: absolute" value="Não"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Bancos$BancoCadastrar.painelConsulta}" draggable="false" id="painelConsulta" modal="true"
                            rendered="#{Bancos$BancoCadastrar.painelPopupConsulta.showDraggablePanel}"
                            style="height: 210px; left: 600px; top: 264px; position: absolute; width: 405px" visible="#{Bancos$BancoCadastrar.painelPopupConsulta.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelConsultaCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelConsulta" value="Consulta Banco"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelConsultaCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgConsultaTitulo"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 0px; position: absolute; text-align: center; width: 357px" value="Digite o nome do Banco a ser consultado:"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoConsultaOk_action}"
                                        binding="#{Bancos$BancoCadastrar.botaoConsultaOk}" id="botaoConsultaOk" image="/resources/botaoOk.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 25%; top: 65%; position: absolute" value="OK"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoConsultaCancelar_action}"
                                        binding="#{Bancos$BancoCadastrar.botaoConsultaCancelar}" id="botaoConsultaCancelar" image="/resources/botaoCancelar.png"
                                        immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 25%; top: 65%; position: absolute" value="Cancelar"/>
                                    <ice:selectInputText binding="#{Bancos$BancoCadastrar.campoBuscaBanco}" id="campoBuscaBanco"
                                        style="left: 48px; top: 48px; position: absolute"
                                        valueChangeListener="#{Bancos$BancoCadastrar.campoBuscaBanco_processValueChange}" width="309">
                                        <f:selectItems id="selectInputText1selectedItems" value="#{Bancos$BancoCadastrar.campoConsultaIncremental}"/>
                                    </ice:selectInputText>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Bancos$BancoCadastrar.painelAviso}" draggable="false" id="painelAviso" modal="true"
                            rendered="#{Bancos$BancoCadastrar.painelPopupAviso.showDraggablePanel}"
                            style="height: 210px; left: 600px; top: 288px; position: absolute; width: 405px" visible="#{Bancos$BancoCadastrar.painelPopupAviso.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelAvisoCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelAviso" value="Aviso"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelAvisoCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText binding="#{Bancos$BancoCadastrar.msgAvisoResultado}" id="msgAvisoResultado"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; height: 17px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Não houve resultado "/>
                                    <ice:outputText binding="#{Bancos$BancoCadastrar.msgAvisoPergunta}" id="msgAvisoPergunta"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; height: 17px; left: 24px; top: 72px; position: absolute; text-align: center; width: 357px" value="Deseja fazer outra consulta?"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoAvisoNao_action}" binding="#{Bancos$BancoCadastrar.botaoAvisoNao}"
                                        id="botaoAvisoNao" image="/resources/botaoNao.png" immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 30%; top: 65%; position: absolute" value="Não"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoAvisoSim_action}" binding="#{Bancos$BancoCadastrar.botaoAvisoSim}"
                                        id="botaoAvisoSim" image="/resources/botaoSim.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 30%; top: 65%; position: absolute" value="Sim"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Bancos$BancoCadastrar.painelMensagem}" draggable="false" id="painelMensagem" modal="true"
                            rendered="#{Bancos$BancoCadastrar.painelPopupMensagem.showDraggablePanel}"
                            style="height: 210px; left: 600px; top: 312px; position: absolute; width: 405px" visible="#{Bancos$BancoCadastrar.painelPopupMensagem.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelMensagemCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelMensagem" value="Atenção"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelMensagemCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText binding="#{Bancos$BancoCadastrar.msgMensagemResultado}" id="msgMensagemResultado"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Operação Efetuada com Sucesso"/>
                                    <ice:outputText binding="#{Bancos$BancoCadastrar.msgMensagemOperacao}" id="msgMensagemOperacao" style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 72px; position: absolute; text-align: center; width: 357px"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoMensagemOk_action}"
                                        binding="#{Bancos$BancoCadastrar.botaoMensagemOk}" id="botaoMensagemOk" image="/resources/botaoOk.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 45%; top: 70%; position: absolute" value="Ok"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelGroup id="painelGeral" style="height: 768px; margin-left: -512px; left: 50%; top: 0px; position: absolute; width: 1024px">
                            <ice:graphicImage id="imagemFundo"
                                style="height: 768px; margin-left: -512px; margin-top: -384px; left: 512px; top: 384px; position: absolute; width: 1024px" url="/resources/Banco.jpg"/>
                            <ice:panelLayout id="painelConteudo" layout="flow" style="font-family: 'Courier New',Courier,monospace; font-size: 14px; height: 620px; left: 2%; top: 12%; position: absolute; width: 980px; -rave-layout: grid">
                                <ice:outputText id="labelNomeBanco"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 24px; top: 96px; position: absolute; text-align: right; width: 237px" value="Nome:"/>
                                <ice:inputText binding="#{Bancos$BancoCadastrar.nome}" id="nome" maxlength="100" partialSubmit="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 94px; position: absolute; width: 230px"
                                    title="Insira o nome do Banco" validator="#{Bancos$BancoCadastrar.validateCampoUnico}" value="#{Banco.nome}"/>
                                <ice:message binding="#{Bancos$BancoCadastrar.msgNome}" errorClass="errorMessage" fatalClass="fatalMessage" for="nome"
                                    id="msgNome" infoClass="infoMessage"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-style: normal; font-weight: bold; height: 20px; left: 504px; top: 96px; position: absolute; width: 334px" warnClass="warnMessage"/>
                                <ice:panelLayout id="painelOpcoes" layout="flow" style="height: 46px; left: 0px; top: 0px; position: absolute; width: 980px; -rave-layout: grid">
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoNovo_action}" alt="Novo"
                                        binding="#{Bancos$BancoCadastrar.botaoNovo}" id="botaoNovo" image="/resources/botaoNovo.png" immediate="true"
                                        style="height: 45px; left: 168px; top: 0px; position: absolute; width: 64px" title="Novo" value="Novo"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoConsultar_action}" binding="#{Bancos$BancoCadastrar.botaoConsultar}"
                                        id="botaoConsultar" image="/resources/botaoConsultar.png" immediate="true" partialSubmit="true"
                                        style="height: 45px; left: 240px; top: 0px; position: absolute; width: 64px" title="Consultar" value="Consultar"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoAlterar_action}" binding="#{Bancos$BancoCadastrar.botaoAlterar}"
                                        id="botaoAlterar" image="/resources/botaoAlterar.png" immediate="true"
                                        style="height: 45px; left: 312px; top: 0px; position: absolute; width: 64px" title="Alterar" value="Alterar"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoLimpar_action}" binding="#{Bancos$BancoCadastrar.botaoLimpar}"
                                        id="botaoLimpar" image="/resources/botaoLimpar.png" immediate="true"
                                        style="height: 45px; left: 384px; top: 0px; position: absolute; width: 64px" title="Limpar Campos" value="Limpar"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoCadastrar_action}" binding="#{Bancos$BancoCadastrar.botaoCadastrar}"
                                        id="botaoCadastrar" image="/resources/botaoSalvar.png"
                                        style="height: 45px; left: 456px; top: 0px; position: absolute; width: 64px" title="Salvar/Cadastrar" value="Cadastrar"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoImprimir_action}" binding="#{Bancos$BancoCadastrar.botaoImprimir}"
                                        id="botaoImprimir" image="/resources/botaoImprimir.png"
                                        style="height: 45px; left: 528px; top: 0px; position: absolute; width: 64px" title="Imprimir" value="Imprimir"/>
                                    <ice:commandButton action="#{Bancos$BancoCadastrar.botaoSair_action}" binding="#{Bancos$BancoCadastrar.botaoSair}"
                                        id="botaoSair" image="/resources/botaoSair.png" immediate="true" partialSubmit="true"
                                        style="height: 45px; left: 912px; top: 0px; position: absolute; width: 64px" title="Sair" value="Sair"/>
                                </ice:panelLayout>
                            </ice:panelLayout>
                        </ice:panelGroup>
                    </ice:form>
                </ice:outputBody>
            </body>
        </ice:outputHtml>
    </f:view>
</jsp:root>
